projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b00a3e
)
GtkFontChooser: Check if the deprecated widgets are present before updating the size...
author
Alberto Ruiz
<aruiz@gnome.org>
Wed, 4 May 2011 22:23:13 +0000
(23:23 +0100)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 15 Aug 2011 22:57:54 +0000
(18:57 -0400)
gtk/gtkfontchooser.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfontchooser.c
b/gtk/gtkfontchooser.c
index 5da1d04d50b692182e3576f5042b907fc4fa2193..074124abe1e50b186523222f109bfc8672b9b042 100644
(file)
--- a/
gtk/gtkfontchooser.c
+++ b/
gtk/gtkfontchooser.c
@@
-412,8
+412,11
@@
spin_change_cb (GtkAdjustment *adjustment, gpointer data)
#ifndef GTK_DISABLE_DEPRECATED
- priv->ignore_size = TRUE;
- update_size_list_selection (fontsel);
+ if (priv->size_list)
+ {
+ priv->ignore_size = TRUE;
+ update_size_list_selection (fontsel);
+ }
#endif /* GTK_DISABLE_DEPRECATED */
gtk_widget_queue_draw (priv->preview);